package com.zx.tv.entity;

public class Content {
	private String title="";
	private String subhead="";
	private String ptime="";
	private String content="";
	private String author="";
	private String source="";
	public String getImg() {
		return img;
	}
	public void setImg(String img) {
		this.img = img;
	}
	private String img="";
	public String getTitle() {
		return title;
	}
	public void setTitle(String title) {
		this.title = title;
	}
	public String getSubhead() {
		return subhead;
	}
	public void setSubhead(String subhead) {
		this.subhead = subhead;
	}
	public String getPtime() {
		return ptime;
	}
	public void setPtime(String ptime) {
		this.ptime = ptime;
	}
	public String getContent() {
		return content;
	}
	public void setContent(String content) {
		this.content = content;
	}
	public String getAuthor() {
		return author;
	}
	public void setAuthor(String author) {
		this.author = author;
	}
	public String getSource() {
		return source;
	}
	public void setSource(String source) {
		this.source = source;
	}
	public String getHTMLContent(){
		String result="";
		result+="<font>"+title+"</font><br />";
		result+="<font>"+ptime+author+"</font><br />";
		result+=source;
		
		return result;
	}

}
